package com.woniu.outlet.mysql.dao;

import com.woniu.outlet.mysql.po.ProductSellMySQL;
import com.woniu.outlet.mysql.po.ProductSellMySQLExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductSellDao {
    long countByExample(ProductSellMySQLExample example);

    int deleteByExample(ProductSellMySQLExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProductSellMySQL record);

    int insertSelective(ProductSellMySQL record);

    List<ProductSellMySQL> selectByExample(ProductSellMySQLExample example);

    ProductSellMySQL selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProductSellMySQL record, @Param("example") ProductSellMySQLExample example);

    int updateByExample(@Param("record") ProductSellMySQL record, @Param("example") ProductSellMySQLExample example);

    int updateByPrimaryKeySelective(ProductSellMySQL record);

    int updateByPrimaryKey(ProductSellMySQL record);
}